﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin_cms/admin_master.master"
    AutoEventWireup="true" CodeFile="admin_gioithieu.aspx.cs" Inherits="admin_cms_default"
    EnableEventValidation="true" %>

<%@ Register Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" TagPrefix="FCK" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="all_khung_form1">
        <div class="top_khung_form1">
            <h5>Giới thiệu công ty</h5>
        </div>
        <div class="khung_form1"  style="width: 100%;">
            <h3>Chọn nhóm:
            </h3>

            <asp:DropDownList runat="server" ID="dr_nhomgioithieu" Width="250px" Height="25px">
            

            </asp:DropDownList>
        </div>
        <div class="khung_form1">
            <h3>Nội dung :
            </h3>

            <FCK:FCKeditor runat="server" ID="txtname" Width="910px" Height="550px" BasePath="~/fckeditor/">
            </FCK:FCKeditor>
        </div>
        
        <div class="khung_form1" style="width: 100%;">
            <asp:Button ID="Button1" runat="server" Text="Thêm mới" OnClick="Footer_Insert" /><asp:Button
                ID="Button2" runat="server" Text="Update" OnClick="Footer_update" />
        </div>


        <div class="all_khung_form3">
            <div class="griv_content">
                <asp:GridView ID="GridView1" runat="server" CssClass="mGrid" PagerStyle-CssClass="pgr" Font-Size="12px"
                    AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#DFE2E4" OnRowCommand="grv_yahoo_click">
                    <Columns>
                        <asp:BoundField HeaderText="Mã giới thiệu" DataField="Id" />
                        <asp:BoundField HeaderText="Nội dung" DataField="NoiDung" />
                        <asp:BoundField HeaderText="Loại giới thiệu" DataField="LoaiGioiThieu" />
                    </Columns>
                    <Columns>
                        <asp:TemplateField HeaderText="Xóa">
                            <ItemTemplate>
                                <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Acces Denied Sign.png" CssClass="grivimg"
                                    ID="imgxoa" OnClick="bt_delete_yahoo" CommandArgument='<%#Eval("Id") %> '
                                    CommandName="X" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <Columns>
                        <asp:TemplateField HeaderText="Sửa">
                            <ItemTemplate>
                                <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Create Write.png"
                                    ID="imgsua" CommandArgument='<%#Eval("Id") %> ' CommandName="S" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
</asp:Content>
